﻿// This file is a script that can be executed with the F# Interactive.  
// It can be used to explore and test the library project.
// Note that script files will not be part of the project build.
#load "C:\Users\Дмитрий\Desktop\Programming\VisualStudio\Visual Studio 2010\Projects\NumericalMethodsSolution\NMFramework\NumericalFunctions.fs"
#load "Points.fs"
#load "TwoDimensionalFunction.fs"
#load "Data.fs"
open GraphEntities
open System
let f = new Func<float,float>(fun x -> x*x)
let fData = new TwoDimentionalFunctionData(f,-10.0,10.0,0.01,"square from X")
printfn "fData created" |> ignore
fData.AsPointSeq() |>
Seq.iter (fun point -> printfn "X: %f3 Y: %f3" point.X point.Y )
